home *** CD-ROM | disk | FTP | other *** search
- Path: news.zocalo.net!news
- From: Paul Hsieh <qed@xenon.chromatic.com>
- Newsgroups: comp.lang.c++,rec.games.programmer,alt.msdos.programmer,comp.programming
- Subject: Re: Young programmers read me.
- Date: Sun, 24 Mar 1996 15:11:54 -0800
- Organization: Zocalo Engineering - Berkeley, California, USA
- Message-ID: <3155D6BA.5B70@xenon.chromatic.com>
- References: <4icpp9$7hr@barad-dur.nas.com> <4imqe4$cj3@ping1.ping.be> <4ippuq$4pk@scoop.eco.twg.com> <4j2lgn$j4l@dfw-ixnews4.ix.netcom.com>
- NNTP-Posting-Host: paulh.chromatic.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win95; I)
-
- John Lilley wrote:
- > In article <4ippuq$4pk@scoop.eco.twg.com>, mike@vishnu.eco.twg.com says...
- > >If you don't agree, check out any of the Corel newsgroups and see how thier
- > >customers feel about the seemingly endless bugs...
- >
- > If I may inject a little sanity into this discussion, I'd like to
- > make a few observations:
- >
- > It is almost always true that optimization of a program causes
- > errors.
-
- Hmm ... they way I optimize is I run my stuff through a profiler,
- disassemble, examine the code, sit down with a piece of paper and
- design better algorithms for my problem areas then re-code it. I
- don't know how, you do it, but the act of optimization does not
- inherently cause errors in the programs *I* write.
-
- > [...] Trying to hit the PC market in the recent past (and
- > probably even today), means excessive optimization and this is
- > a major source of errors in the PC marketplace.
-
- I don't believe this is the root cause of defective programs in
- the market place today. It is schedule pressures put on
- programmers. Most good programmers out there try to do a
- decent job when they are programming. It is usually a manager
- that tells them that they have to meet such and such deadline
- that causes problems.
-
- > MS-Windows in particular is a nasty environment. The degree to
- > which undocumented and illogical behaviors occur in this
- > programming environment is truly amazing.
-
- No argument there.
-
- > [...] And most of these
- > came about from the need to optimize the H--- out of Windows
- > from the day it was conceived and deal with the DOS/640k legacy.
-
- :) This is kind of a funny statement. Being that I've trundled
- through the Windows kernel with Soft Ice while debugging problems,
- I find it hard to believe Microsoft was trying very hard to
- *optimize* Windows ... :)
-
- > That being said, using the example of a buggy program under
- > MS-Windows as a condemnation of "C" or C++ is a rather weak
- > argument, unless it can be demonstrated that programs written
- > in other languages (ADA) fare better. [...] Perhaps as
- > performance continues to improve and tools evolve ADA will
- > become more attractive and get a chance to prove itself. I
- > won't hold my breath.
-
- I don't know all that much about low-level Ada stuff, but I
- studied it in University and found it to be more trouble that
- its worth. The lack of a competitive environment for compiler
- makers to make really good Ada compilers leads me to believe
- that its unlikely that Ada has any change of unseeding C/C++
- as the programming language of choice.
-
- --
- Paul Hsieh
- qed@xenon.chromatic.com
-
- What I say and what my company says are not always the same thing
-